import Cookies from 'js-cookie';
//存储数据
const TokenKey = 'Admin-Token';
export const SET_TOKEN = (token: string) => {
  Cookies.set(TokenKey, token);
};
//本地存储获取数据
export const GET_TOKEN = () => {
  return Cookies.get(TokenKey);
};
//本地存储删除数据方法
export const REMOVE_TOKEN = () => {
  Cookies.remove(TokenKey);
};
